package com.sghj.record.entity.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zk
 * @version 1.0
 * @date 2024-7-16 16:43
 * @description
 */
@Data
public class RecordOutcallQuery {

    private Integer pid;

    @ApiModelProperty(value = "日计划号")
    @TableId(value = "day_plan_number")
    private Integer dayPlanNumber;

    @ApiModelProperty(value = "致电状态（0未打，1已打）")
    @TableId(value = "call_result")
    private List<Integer> outCallResult;

    @ApiModelProperty(value = "查询起始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date queryStartTime;

    @ApiModelProperty(value = "查询结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date queryEndTime;

    private Long current;

    private Long limit;
}
